How to count elements in 2 different arrays in javascript with same index

visit shbcf.ru